#ifndef __SBUS_CORE_H__
#define __SBUS_CORE_H__

#ifdef __SBUS_CORE_C__
#define __SBUS_CORE_C__
#else
#define __SBUS_CORE_C__ extern
#endif

#include <stdio.h>

#include "sbus_udp.h"
#include "sbus_list.h"
#include "sbus_core.h"


struct sbus_info{
	unsigned int id;
	unsigned int ps;
	char name[20];
};


__SBUS_CORE_C__ struct sbus_info sbusinfo;



void sbus_init(unsigned int id, unsigned int ps, char *name);


#endif

